Skip to main content

Holiday Award

Award holiday hours regardless of whether an employee works or not on a holiday (e.g. award 8hrs HOL). Includes options for requiring positive attendance around the holiday, observing on the nearest weekday, and observing on the nearest scheduled day.

Details

Rule Type
Time

Execution
After day

Parameters

NameDataTypeDefaultValueDescription
Hour typelookupThe earnings code to use for the awarded holiday hours
Days of serviceinteger0The number of days of service before holiday is awarded (e.g. 90 days)
Hours to awardinteger8Number of hours to award on the holiday (default 8)
No absencebooleanFalseIf enabled, must have worked the last shift before and first shift after the holiday, including the holiday itself in order to receive the holiday award (shifts can be up to 5 days in either direction)
Observe on weekdaysbooleanFalseIf enabled, holidays which fall on a weekend will be observed on the nearest week day (e.g. Sat->Fri, Sun->Mon),

Decision Tree

Rule processing begins in the cell R1:Level1 and proceeds right/down. Any IF statement which results in a DONE step terminates the rule immediately.

Line#Level1Level2Level3Comment
1Start
2IF(IS_HOLIDAY(PayDate, Observe on weekdays) = 0) See if the current date is a holiday (accounting for weekends and schedules if those options are enabled)
3DONE
4IF(DATE_DIFF(PayDate, FIND(Employee, HireDate)) < Days of service) Check the service length of employment
5DONE
6SET( = INSERT_PUNCH(PayDate, Hour type, Hours to award))Award the bulk hour amount
7DONE